package com.tckdq.tcc.domain;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@Data
public class UserDto {
    @NotEmpty(message = "手机号不可为空")
    private String mobile;
    //@NotEmpty(message = "密码不可为空")
    @Size(min = 6,max = 16,message = "密码6-16位")
    private String password;
    private Integer reChannel;
    private String smsCode;
    private String invitationCode;
}
